package com.wiserun.develop.project.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.wiserun.common.model.BaseDTO;

import java.math.BigDecimal;
import java.util.Date;

public class Project extends BaseDTO {
    private Integer id;
    private String proj_name;
    private Integer proj_type;
    @JsonFormat(pattern ="yyyy-MM-dd")
    private Date startdate;
    private Integer status;
    private BigDecimal price;
    private String confirmletter;
    private Integer buildid;
    private Integer contid;
    private Integer isDelete;

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getProj_name() {
        return proj_name;
    }

    public void setProj_name(String proj_name) {
        this.proj_name = proj_name;
    }

    public Integer getProj_type() {
        return proj_type;
    }

    public void setProj_type(Integer proj_type) {
        this.proj_type = proj_type;
    }

    public Date getStartdate() {
        return startdate;
    }

    public void setStartdate(Date startdate) {
        this.startdate = startdate;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getConfirmletter() {
        return confirmletter;
    }

    public void setConfirmletter(String confirmletter) {
        this.confirmletter = confirmletter;
    }

    public Integer getBuildid() {
        return buildid;
    }

    public void setBuildid(Integer buildid) {
        this.buildid = buildid;
    }

    public Integer getContid() {
        return contid;
    }

    public void setContid(Integer contid) {
        this.contid = contid;
    }

    @Override
    public String toString() {
        return "Project{" +
                "id=" + id +
                ", proj_name='" + proj_name + '\'' +
                ", proj_type=" + proj_type +
                ", startdate=" + startdate +
                ", status=" + status +
                ", price=" + price +
                ", confirmletter='" + confirmletter + '\'' +
                ", buildid=" + buildid +
                ", contid=" + contid +
                '}';
    }
}
